package com.tbit.uqbike.client.service.impl;

import com.tbit.uqbike.client.dao.core.MachineLockLogDao;
import com.tbit.uqbike.client.pojo.MachineLockLog;
import com.tbit.uqbike.client.service.MachineLockLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author chenmengran
 * @Description: 设备操作日志
 * @date 2019\4\12 001211:26
 */
@Service
public class MachineLockLogServiceImpl implements MachineLockLogService {
    @Autowired
    private MachineLockLogDao machineLockLogDao;

    @Override
    public void insert(MachineLockLog machineLockLog) {
        machineLockLogDao.insert(machineLockLog);
    }

    @Override
    public void update(MachineLockLog machineLockLog) {
        machineLockLogDao.update(machineLockLog);
    }

    @Override
    public MachineLockLog find(String serNo) {
        return machineLockLogDao.find(serNo);
    }

}
